package com.landiao.mapper;

import java.util.List;

import com.landiao.entities.Appointment;

public interface AppointmentMapper extends BaseMapper<Appointment,String>{
	
    int deleteByPrimaryKey(String appointmentId);

    int insert(Appointment record);

    int insertSelective(Appointment record);

    Appointment selectByPrimaryKey(String appointmentId);

    int updateByPrimaryKeySelective(Appointment record);

    int updateByPrimaryKey(Appointment record);
    
    /**
     * 获取未到期且已成功预约的信息
     * @param employeeId
     */
    List<Appointment> selectSuccessAppointByEmployee(String employeeId);
}